package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.PageQueryVo;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 员工信息 服务类
 * </p>
 *
 * @author 
 * @since 2024-05-20
 */
@Service
public interface IEmployeeService extends IService<Employee> {

    R<Employee> login(Employee employee, HttpServletRequest request);

    R<String> addEmployee(Employee employee, HttpServletRequest request);

    R<Page> pageQuery(PageQueryVo pageQueryVo);

    R<Object> queryByIdAndResponse(Long id);
}
